<%@ include file="/netmarkets/jsp/util/begin.jspf"%>
<%@ include file="/netmarkets/jsp/components/createEditUIText.jspf"%>
<%@ include file="/netmarkets/jsp/components/includeWizBean.jspf"%>

<%@ taglib uri="http://www.ptc.com/windchill/taglib/components" prefix="jca"%>
<%@ taglib uri="http://www.ptc.com/windchill/taglib/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.ptc.com/windchill/taglib/objcomponents" prefix="objcomponent"%>
<%@ taglib tagdir="/WEB-INF/tags" prefix="tags"%>

<%@ page import="com.ptc.windchill.enterprise.object.objectResource" %>
<%@ page import="com.ptc.windchill.enterprise.object.ReIdentifyConstants" %>

<fmt:setLocale value="${localeBean.locale}"/>
<fmt:setBundle basename="com.ptc.windchill.enterprise.object.objectResource"/>
<fmt:message var="contextLabel" key="<%= objectResource.CONTEXT_LABEL %>" />

<jca:initializeItem operation="${createBean.edit}"/>

<objcomponent:mode inputMode="inputMode"/>
${inputMode}
<!-- Important: Do not add componentType="WIZARD_ATTRIBUTES_TABLE" to this attribute table -->
<jca:describeAttributesTable var="attributesTableDescriptor" id="edit.renameAttributes" mode="EDIT"  label="${attributesTableHeader}">
   <jca:describeProperty id="containerName" label="${contextLabel}" mode="VIEW" isInfoPageLink="false"/>
   <jca:describeProperty id="itemType" need="type" mode="VIEW"/>
   <jca:describeProperty id="<%=ReIdentifyConstants.ColumnIdentifiers.RENAME_PART_NAME%>" htmlId="NameInputId" mode="${inputMode}"/>
   <jca:describeProperty id="<%=ReIdentifyConstants.ColumnIdentifiers.RENAME_PART_NUMBER%>" need="number" dataUtilityId="renameNumber" mode="EDIT"/>
   <jca:describeProperty id="<%=ReIdentifyConstants.ColumnIdentifiers.RENAME_ORG_ID%>" need="organization.id" dataUtilityId="renameOrgId" mode="${inputMode}"/>
</jca:describeAttributesTable>

<%@ include file="/netmarkets/jsp/components/setAttributesWizStep.jspf"%>
<%@ include file="/netmarkets/jsp/util/end.jspf"%>
